import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'suZhiHuaKanBan-'

export default {
  path: '/suZhiHuaKanBan',
  name: 'suZhiHuaKanBan',
  redirect: {
    name: `${pre}zhiCheRuKou`
  },
  meta: { ...meta, title: '数字化看板' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'zhiCheRuKou',
      name: '18100',
      meta: {
        ...meta,
        title: '值车入口'
      }
      // component: () => import('@/pages/suZhiHuaKanBan/zhiCheRuKou')
    },
    {
      path: 'qingShuLianKanBan',
      name: '18200',
      meta: {
        ...meta,
        title: '清梳联看板'
      }
      // component: () => import('@/pages/suZhiHuaKanBan/qingShuLianKanBan')
    },
    {
      path: 'jingBingCuKanBan',
      name: '18300',
      meta: {
        ...meta,
        title: '并粗看板'
      }
      // component: () => import('@/pages/suZhiHuaKanBan/jingBingCuKanBan')
    },
    {
      path: 'xiShaKanBan',
      name: '18400',
      meta: {
        ...meta,
        title: '细纱看板'
      }
      // component: () => import('@/pages/suZhiHuaKanBan/xiShaKanBan')
    },
    {
      path: 'luoTongKanBan',
      name: '18500',
      meta: {
        ...meta,
        title: '络筒看板'
      }
      // component: () => import('@/pages/suZhiHuaKanBan/luoTongKanBan')
    },
    {
      path: 'zhiCheRuKou/guZhangBaoXiu',
      name: '18500',
      meta: {
        ...meta,
        title: '络筒看板'
      }
      // component: () => import('@/pages/suZhiHuaKanBan/zhiCheRuKou/guZhangBaoXiu')
    }
  ]
} as AppRouteRecord
